.class public Les/hk0;
.super Ljava/lang/Object;
.source "CommonDownloadHandler.java"

# interfaces
.implements Les/ik0;
.implements Les/dl0$a;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/hk0$c;
    }
.end annotation


# static fields
.field private static final p:Ljava/lang/String; = "hk0"


# instance fields
.field private final a:Les/dl0;

.field private b:Les/jk0;

.field private c:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference<",
            "Landroid/content/Context;",
            ">;"
        }
    .end annotation
.end field

.field private final d:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/Integer;",
            "Ljava/lang/Object;",
            ">;"
        }
    .end annotation
.end field

.field private e:Les/gj0;

.field private f:Les/zn0;

.field private g:Les/hk0$c;

.field private final h:Les/sn0;

.field private i:Z

.field private j:J

.field private k:J

.field private l:Les/zi0;

.field private m:Les/yi0;

.field private n:Les/xi0;

.field private o:Z


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>()V
    .locals 2

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Les/dl0;

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object v1

    invoke-direct {v0, v1, p0}, Les/dl0;-><init>(Landroid/os/Looper;Les/dl0$a;)V

    iput-object v0, p0, Les/hk0;->a:Les/dl0;

    .line 3
    new-instance v0, Ljava/util/concurrent/ConcurrentHashMap;

    invoke-direct {v0}, Ljava/util/concurrent/ConcurrentHashMap;-><init>()V

    iput-object v0, p0, Les/hk0;->d:Ljava/util/Map;

    .line 4
    new-instance v0, Les/jk0$d;

    iget-object v1, p0, Les/hk0;->a:Les/dl0;

    invoke-direct {v0, v1}, Les/jk0$d;-><init>(Les/dl0;)V

    iput-object v0, p0, Les/hk0;->h:Les/sn0;

    const-wide/16 v0, -0x1

    .line 5
    iput-wide v0, p0, Les/hk0;->k:J

    const/4 v0, 0x0

    .line 6
    iput-object v0, p0, Les/hk0;->l:Les/zi0;

    .line 7
    iput-object v0, p0, Les/hk0;->m:Les/yi0;

    .line 8
    iput-object v0, p0, Les/hk0;->n:Les/xi0;

    .line 9
    new-instance v0, Les/jk0;

    invoke-direct {v0}, Les/jk0;-><init>()V

    iput-object v0, p0, Les/hk0;->b:Les/jk0;

    return-void
.end method

.method static synthetic a(Les/hk0;Les/zn0;)Les/zn0;
    .locals 0

    .line 1
    iput-object p1, p0, Les/hk0;->f:Les/zn0;

    return-object p1
.end method

.method static synthetic a(Les/hk0;)Ljava/util/Map;
    .locals 0

    .line 2
    iget-object p0, p0, Les/hk0;->d:Ljava/util/Map;

    return-object p0
.end method

.method private a(Les/zn0;)V
    .locals 2

    .line 57
    invoke-static {}, Landroid/os/Message;->obtain()Landroid/os/Message;

    move-result-object v0

    const/4 v1, 0x3

    .line 58
    iput v1, v0, Landroid/os/Message;->what:I

    .line 59
    iput-object p1, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    .line 60
    iget-object p1, p0, Les/hk0;->a:Les/dl0;

    invoke-virtual {p1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    return-void
.end method

.method static synthetic b(Les/hk0;)Les/gj0;
    .locals 0

    .line 1
    invoke-direct {p0}, Les/hk0;->p()Les/gj0;

    move-result-object p0

    return-object p0
.end method

.method private b(Z)V
    .locals 4

    .line 24
    iget-object v0, p0, Les/hk0;->b:Les/jk0;

    iget-boolean v1, p0, Les/hk0;->o:Z

    invoke-virtual {v0, v1}, Les/jk0;->a(Z)I

    move-result v0

    const/4 v1, 0x1

    if-eq v0, v1, :cond_0

    .line 25
    invoke-direct {p0, p1}, Les/hk0;->d(Z)V

    goto :goto_0

    :cond_0
    if-eqz p1, :cond_1

    .line 26
    invoke-static {}, Les/uk0;->a()Les/uk0;

    move-result-object p1

    iget-wide v2, p0, Les/hk0;->k:J

    invoke-virtual {p1, v2, v3, v1}, Les/uk0;->a(JI)V

    .line 27
    :cond_1
    invoke-static {}, Les/lk0;->c()Les/ii0;

    move-result-object p1

    invoke-direct {p0}, Les/hk0;->k()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Les/hk0;->l:Les/zi0;

    invoke-direct {p0}, Les/hk0;->m()Les/xi0;

    move-result-object v2

    invoke-direct {p0}, Les/hk0;->l()Les/yi0;

    move-result-object v3

    invoke-interface {p1, v0, v1, v2, v3}, Les/ii0;->a(Landroid/content/Context;Les/zi0;Les/xi0;Les/yi0;)V

    :goto_0
    return-void
.end method

.method private b(I)Z
    .locals 0

    .line 22
    invoke-direct {p0}, Les/hk0;->i()Z

    move-result p1

    if-nez p1, :cond_0

    const/4 p1, 0x0

    return p1

    .line 23
    :cond_0
    iget-object p1, p0, Les/hk0;->l:Les/zi0;

    invoke-interface {p1}, Les/zi0;->y()Les/hj0;

    move-result-object p1

    invoke-virtual {p1}, Les/hj0;->a()Ljava/lang/String;

    const/4 p1, 0x0

    throw p1
.end method

.method static synthetic c(Les/hk0;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Les/hk0;->j()V

    return-void
.end method

.method private c(Z)V
    .locals 4

    if-eqz p1, :cond_0

    .line 3
    invoke-static {}, Les/uk0;->a()Les/uk0;

    move-result-object v0

    iget-wide v1, p0, Les/hk0;->k:J

    const/4 v3, 0x1

    invoke-virtual {v0, v1, v2, v3}, Les/uk0;->a(JI)V

    .line 4
    :cond_0
    invoke-direct {p0, p1}, Les/hk0;->e(Z)V

    return-void
.end method

.method static synthetic d(Les/hk0;)Les/zi0;
    .locals 0

    .line 1
    iget-object p0, p0, Les/hk0;->l:Les/zi0;

    return-object p0
.end method

.method private d(Z)V
    .locals 0

    .line 3
    invoke-direct {p0, p1}, Les/hk0;->f(Z)V

    .line 4
    iget-object p1, p0, Les/hk0;->b:Les/jk0;

    invoke-virtual {p1}, Les/jk0;->b()V

    return-void
.end method

.method static synthetic e(Les/hk0;)Les/zn0;
    .locals 0

    .line 1
    iget-object p0, p0, Les/hk0;->f:Les/zn0;

    return-object p0
.end method

.method private e(Z)V
    .locals 4

    .line 3
    sget-object v0, Les/hk0;->p:Ljava/lang/String;

    const/4 v1, 0x0

    const-string v2, "performItemClickWithNewDownloader"

    invoke-static {v0, v2, v1}, Les/bl0;->a(Ljava/lang/String;Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 4
    iget-object v0, p0, Les/hk0;->b:Les/jk0;

    iget-object v2, p0, Les/hk0;->f:Les/zn0;

    invoke-virtual {v0, v2}, Les/jk0;->c(Les/zn0;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 5
    sget-object v0, Les/hk0;->p:Ljava/lang/String;

    const-string v2, "performItemClickWithNewDownloader ButtonClick"

    invoke-static {v0, v2, v1}, Les/bl0;->a(Ljava/lang/String;Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 6
    invoke-direct {p0, p1}, Les/hk0;->f(Z)V

    goto :goto_0

    .line 7
    :cond_0
    sget-object p1, Les/hk0;->p:Ljava/lang/String;

    const-string v0, "performItemClickWithNewDownloader onItemClick"

    invoke-static {p1, v0, v1}, Les/bl0;->a(Ljava/lang/String;Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 8
    invoke-static {}, Les/lk0;->c()Les/ii0;

    move-result-object p1

    invoke-direct {p0}, Les/hk0;->k()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Les/hk0;->l:Les/zi0;

    invoke-direct {p0}, Les/hk0;->m()Les/xi0;

    move-result-object v2

    invoke-direct {p0}, Les/hk0;->l()Les/yi0;

    move-result-object v3

    invoke-interface {p1, v0, v1, v2, v3}, Les/ii0;->a(Landroid/content/Context;Les/zi0;Les/xi0;Les/yi0;)V

    :goto_0
    return-void
.end method

.method static synthetic f(Les/hk0;)Les/sn0;
    .locals 0

    .line 1
    iget-object p0, p0, Les/hk0;->h:Les/sn0;

    return-object p0
.end method

.method private f(Z)V
    .locals 4

    .line 2
    sget-object v0, Les/hk0;->p:Ljava/lang/String;

    const/4 v1, 0x0

    const-string v2, "performButtonClickWithNewDownloader"

    invoke-static {v0, v2, v1}, Les/bl0;->a(Ljava/lang/String;Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 3
    iget-object v0, p0, Les/hk0;->f:Les/zn0;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Les/zn0;->X0()I

    move-result v0

    const/4 v2, -0x3

    if-eq v0, v2, :cond_0

    invoke-static {}, Les/lk0;->a()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Landroid/content/Context;)Lcom/ss/android/socialbase/downloader/downloader/g;

    move-result-object v0

    iget-object v2, p0, Les/hk0;->f:Les/zn0;

    invoke-virtual {v2}, Les/zn0;->N0()I

    move-result v2

    invoke-virtual {v0, v2}, Lcom/ss/android/socialbase/downloader/downloader/g;->d(I)Z

    move-result v0

    if-nez v0, :cond_0

    goto :goto_0

    .line 4
    :cond_0
    sget-object p1, Les/hk0;->p:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "performButtonClickWithNewDownloader continue download, status:"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Les/hk0;->f:Les/zn0;

    invoke-virtual {v2}, Les/zn0;->X0()I

    move-result v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {p1, v0, v1}, Les/bl0;->a(Ljava/lang/String;Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 5
    iget-object p1, p0, Les/hk0;->b:Les/jk0;

    iget-object v0, p0, Les/hk0;->f:Les/zn0;

    invoke-virtual {p1, v0}, Les/jk0;->d(Les/zn0;)V

    .line 6
    iget-object p1, p0, Les/hk0;->f:Les/zn0;

    if-eqz p1, :cond_1

    iget-object v0, p0, Les/hk0;->l:Les/zi0;

    if-eqz v0, :cond_1

    .line 7
    invoke-interface {v0}, Les/zi0;->k()Z

    move-result v0

    invoke-virtual {p1, v0}, Les/zn0;->c(Z)V

    .line 8
    :cond_1
    invoke-static {}, Lcom/ss/android/socialbase/appdownloader/e;->k()Lcom/ss/android/socialbase/appdownloader/e;

    move-result-object p1

    invoke-static {}, Les/lk0;->a()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Les/hk0;->f:Les/zn0;

    invoke-virtual {v1}, Les/zn0;->N0()I

    move-result v1

    iget-object v2, p0, Les/hk0;->f:Les/zn0;

    invoke-virtual {v2}, Les/zn0;->X0()I

    move-result v2

    invoke-virtual {p1, v0, v1, v2}, Lcom/ss/android/socialbase/appdownloader/e;->a(Landroid/content/Context;II)V

    goto :goto_1

    :cond_2
    :goto_0
    if-eqz p1, :cond_3

    .line 9
    invoke-static {}, Les/uk0;->a()Les/uk0;

    move-result-object p1

    iget-wide v2, p0, Les/hk0;->k:J

    const/4 v0, 0x2

    invoke-virtual {p1, v2, v3, v0}, Les/uk0;->a(JI)V

    .line 10
    :cond_3
    sget-object p1, Les/hk0;->p:Ljava/lang/String;

    const-string v0, "performButtonClickWithNewDownloader not start"

    invoke-static {p1, v0, v1}, Les/bl0;->a(Ljava/lang/String;Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 11
    iget-object p1, p0, Les/hk0;->b:Les/jk0;

    new-instance v0, Les/hk0$b;

    invoke-direct {v0, p0}, Les/hk0$b;-><init>(Les/hk0;)V

    invoke-virtual {p1, v0}, Les/jk0;->a(Les/ui0;)V

    :goto_1
    return-void
.end method

.method static synthetic g(Les/hk0;)Les/jk0;
    .locals 0

    .line 1
    iget-object p0, p0, Les/hk0;->b:Les/jk0;

    return-object p0
.end method

.method static synthetic h(Les/hk0;)Landroid/content/Context;
    .locals 0

    .line 1
    invoke-direct {p0}, Les/hk0;->k()Landroid/content/Context;

    move-result-object p0

    return-object p0
.end method

.method static synthetic h()Ljava/lang/String;
    .locals 1

    .line 2
    sget-object v0, Les/hk0;->p:Ljava/lang/String;

    return-object v0
.end method

.method private i()Z
    .locals 3

    .line 1
    invoke-static {}, Les/lk0;->i()Lorg/json/JSONObject;

    move-result-object v0

    const/4 v1, 0x0

    const-string v2, "quick_app_enable_switch"

    invoke-virtual {v0, v2, v1}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v0

    if-eqz v0, :cond_0

    return v1

    .line 2
    :cond_0
    iget-object v0, p0, Les/hk0;->l:Les/zi0;

    invoke-static {v0}, Les/fk0;->a(Les/zi0;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Les/hk0;->f:Les/zn0;

    .line 3
    invoke-static {v0}, Les/fk0;->a(Les/zn0;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x1

    return v0

    :cond_1
    return v1
.end method

.method private j()V
    .locals 0

    .line 1
    invoke-direct {p0}, Les/hk0;->n()V

    return-void
.end method

.method private k()Landroid/content/Context;
    .locals 1

    .line 1
    iget-object v0, p0, Les/hk0;->c:Ljava/lang/ref/WeakReference;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Les/hk0;->c:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/content/Context;

    return-object v0

    .line 3
    :cond_0
    invoke-static {}, Les/lk0;->a()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method private l()Les/yi0;
    .locals 1
    .annotation build Landroidx/annotation/NonNull;
    .end annotation

    .line 1
    iget-object v0, p0, Les/hk0;->m:Les/yi0;

    if-nez v0, :cond_0

    new-instance v0, Les/bj0$b;

    invoke-direct {v0}, Les/bj0$b;-><init>()V

    invoke-virtual {v0}, Les/bj0$b;->a()Les/bj0;

    move-result-object v0

    :cond_0
    return-object v0
.end method

.method private m()Les/xi0;
    .locals 1
    .annotation build Landroidx/annotation/NonNull;
    .end annotation

    .line 1
    iget-object v0, p0, Les/hk0;->n:Les/xi0;

    if-nez v0, :cond_0

    new-instance v0, Les/jj0$b;

    invoke-direct {v0}, Les/jj0$b;-><init>()V

    invoke-virtual {v0}, Les/jj0$b;->a()Les/jj0;

    move-result-object v0

    :cond_0
    return-object v0
.end method

.method private n()V
    .locals 8

    .line 1
    iget-object v0, p0, Les/hk0;->d:Ljava/util/Map;

    invoke-static {v0}, Les/jk0;->a(Ljava/util/Map;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/aj0;

    .line 2
    iget-object v2, p0, Les/hk0;->l:Les/zi0;

    invoke-direct {p0}, Les/hk0;->m()Les/xi0;

    move-result-object v3

    invoke-interface {v1, v2, v3}, Les/aj0;->a(Les/zi0;Les/xi0;)V

    goto :goto_0

    .line 3
    :cond_0
    iget-object v0, p0, Les/hk0;->b:Les/jk0;

    invoke-static {}, Les/lk0;->a()Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Les/hk0;->h:Les/sn0;

    invoke-virtual {v0, v1, v2}, Les/jk0;->a(Landroid/content/Context;Les/sn0;)I

    move-result v0

    .line 4
    sget-object v1, Les/hk0;->p:Ljava/lang/String;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "beginDownloadWithNewDownloader id:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    invoke-static {v1, v2, v3}, Les/bl0;->a(Ljava/lang/String;Ljava/lang/String;Lorg/json/JSONObject;)V

    if-eqz v0, :cond_2

    .line 5
    iget-object v1, p0, Les/hk0;->f:Les/zn0;

    if-nez v1, :cond_1

    .line 6
    iget-object v1, p0, Les/hk0;->b:Les/jk0;

    invoke-virtual {v1}, Les/jk0;->c()V

    goto :goto_1

    .line 7
    :cond_1
    iget-object v2, p0, Les/hk0;->b:Les/jk0;

    invoke-virtual {v2, v1}, Les/jk0;->d(Les/zn0;)V

    .line 8
    :goto_1
    invoke-static {}, Les/vj0;->c()Les/vj0;

    move-result-object v1

    new-instance v2, Les/nj0;

    iget-object v4, p0, Les/hk0;->l:Les/zi0;

    invoke-direct {p0}, Les/hk0;->l()Les/yi0;

    move-result-object v5

    invoke-direct {p0}, Les/hk0;->m()Les/xi0;

    move-result-object v6

    invoke-direct {v2, v4, v5, v6, v0}, Les/nj0;-><init>(Les/zi0;Les/yi0;Les/xi0;I)V

    invoke-virtual {v1, v2}, Les/vj0;->a(Les/nj0;)V

    goto :goto_2

    .line 9
    :cond_2
    new-instance v1, Les/zn0$b;

    iget-object v2, p0, Les/hk0;->l:Les/zi0;

    invoke-interface {v2}, Les/zi0;->a()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Les/zn0$b;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Les/zn0$b;->a()Les/zn0;

    move-result-object v1

    const/4 v2, -0x1

    .line 10
    invoke-virtual {v1, v2}, Les/zn0;->b(I)V

    .line 11
    invoke-direct {p0, v1}, Les/hk0;->a(Les/zn0;)V

    .line 12
    invoke-static {}, Les/uk0;->a()Les/uk0;

    move-result-object v1

    iget-wide v4, p0, Les/hk0;->k:J

    new-instance v2, Lcom/ss/android/socialbase/downloader/e/a;

    const/4 v6, 0x2

    const-string v7, "start download failed, id=0"

    invoke-direct {v2, v6, v7}, Lcom/ss/android/socialbase/downloader/e/a;-><init>(ILjava/lang/String;)V

    invoke-virtual {v1, v4, v5, v2}, Les/uk0;->a(JLcom/ss/android/socialbase/downloader/e/a;)V

    .line 13
    invoke-static {}, Les/cl0;->b()V

    .line 14
    :goto_2
    invoke-static {}, Les/dk0;->d()Les/dk0;

    move-result-object v1

    invoke-virtual {v1}, Les/dk0;->a()Landroid/util/LongSparseArray;

    move-result-object v1

    int-to-long v4, v0

    invoke-virtual {v1, v4, v5}, Landroid/util/LongSparseArray;->remove(J)V

    .line 15
    iget-object v1, p0, Les/hk0;->b:Les/jk0;

    invoke-virtual {p0}, Les/hk0;->c()Z

    move-result v2

    invoke-virtual {v1, v2}, Les/jk0;->b(Z)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 16
    invoke-static {}, Les/lk0;->c()Les/ii0;

    move-result-object v1

    invoke-direct {p0}, Les/hk0;->k()Landroid/content/Context;

    move-result-object v2

    iget-object v4, p0, Les/hk0;->l:Les/zi0;

    invoke-direct {p0}, Les/hk0;->m()Les/xi0;

    move-result-object v5

    invoke-direct {p0}, Les/hk0;->l()Les/yi0;

    move-result-object v6

    invoke-interface {v1, v2, v4, v5, v6}, Les/ii0;->a(Landroid/content/Context;Les/zi0;Les/xi0;Les/yi0;)V

    .line 17
    sget-object v1, Les/hk0;->p:Ljava/lang/String;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "beginDownloadWithNewDownloader onItemClick id:"

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v1, v0, v3}, Les/bl0;->a(Ljava/lang/String;Ljava/lang/String;Lorg/json/JSONObject;)V

    :cond_3
    return-void
.end method

.method private o()V
    .locals 5

    .line 1
    iget-object v0, p0, Les/hk0;->g:Les/hk0$c;

    const/4 v1, 0x1

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Landroid/os/AsyncTask;->getStatus()Landroid/os/AsyncTask$Status;

    move-result-object v0

    sget-object v2, Landroid/os/AsyncTask$Status;->FINISHED:Landroid/os/AsyncTask$Status;

    if-eq v0, v2, :cond_0

    .line 2
    iget-object v0, p0, Les/hk0;->g:Les/hk0$c;

    invoke-virtual {v0, v1}, Landroid/os/AsyncTask;->cancel(Z)Z

    .line 3
    :cond_0
    new-instance v0, Les/hk0$c;

    const/4 v2, 0x0

    invoke-direct {v0, p0, v2}, Les/hk0$c;-><init>(Les/hk0;Les/hk0$a;)V

    iput-object v0, p0, Les/hk0;->g:Les/hk0$c;

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/String;

    const/4 v3, 0x0

    .line 4
    iget-object v4, p0, Les/hk0;->l:Les/zi0;

    invoke-interface {v4}, Les/zi0;->a()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    iget-object v3, p0, Les/hk0;->l:Les/zi0;

    invoke-interface {v3}, Les/zi0;->t()Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v1

    invoke-static {v0, v2}, Les/xk0;->a(Landroid/os/AsyncTask;[Ljava/lang/Object;)V

    return-void
.end method

.method private p()Les/gj0;
    .locals 1

    .line 1
    iget-object v0, p0, Les/hk0;->e:Les/gj0;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/gj0;

    invoke-direct {v0}, Les/gj0;-><init>()V

    iput-object v0, p0, Les/hk0;->e:Les/gj0;

    .line 3
    :cond_0
    iget-object v0, p0, Les/hk0;->e:Les/gj0;

    return-object v0
.end method


# virtual methods
.method public synthetic a(ILes/aj0;)Les/ik0;
    .locals 0

    .line 3
    invoke-virtual {p0, p1, p2}, Les/hk0;->b(ILes/aj0;)Les/hk0;

    return-object p0
.end method

.method public synthetic a(Landroid/content/Context;)Les/ik0;
    .locals 0

    .line 4
    invoke-virtual {p0, p1}, Les/hk0;->b(Landroid/content/Context;)Les/hk0;

    return-object p0
.end method

.method public synthetic a(Les/xi0;)Les/ik0;
    .locals 0

    .line 5
    invoke-virtual {p0, p1}, Les/hk0;->b(Les/xi0;)Les/hk0;

    return-object p0
.end method

.method public synthetic a(Les/yi0;)Les/ik0;
    .locals 0

    .line 6
    invoke-virtual {p0, p1}, Les/hk0;->b(Les/yi0;)Les/hk0;

    return-object p0
.end method

.method public synthetic a(Les/zi0;)Les/ik0;
    .locals 0

    .line 7
    invoke-virtual {p0, p1}, Les/hk0;->b(Les/zi0;)Les/hk0;

    return-object p0
.end method

.method public a()V
    .locals 4

    const/4 v0, 0x1

    .line 8
    iput-boolean v0, p0, Les/hk0;->i:Z

    .line 9
    invoke-static {}, Les/vj0;->c()Les/vj0;

    move-result-object v0

    iget-wide v1, p0, Les/hk0;->k:J

    invoke-direct {p0}, Les/hk0;->l()Les/yi0;

    move-result-object v3

    invoke-virtual {v0, v1, v2, v3}, Les/vj0;->a(JLes/yi0;)V

    .line 10
    invoke-static {}, Les/vj0;->c()Les/vj0;

    move-result-object v0

    iget-wide v1, p0, Les/hk0;->k:J

    invoke-direct {p0}, Les/hk0;->m()Les/xi0;

    move-result-object v3

    invoke-virtual {v0, v1, v2, v3}, Les/vj0;->a(JLes/xi0;)V

    .line 11
    iget-object v0, p0, Les/hk0;->b:Les/jk0;

    iget-wide v1, p0, Les/hk0;->k:J

    invoke-virtual {v0, v1, v2}, Les/jk0;->a(J)V

    .line 12
    invoke-direct {p0}, Les/hk0;->o()V

    return-void
.end method

.method public a(JI)V
    .locals 5

    const/4 v0, 0x2

    const/4 v1, 0x1

    if-eq p3, v0, :cond_1

    if-ne p3, v1, :cond_0

    goto :goto_0

    .line 35
    :cond_0
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string p2, "error actionType"

    invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1

    :cond_1
    :goto_0
    const-wide/16 v2, 0x0

    cmp-long v4, p1, v2

    if-lez v4, :cond_2

    .line 36
    invoke-static {}, Les/vj0;->c()Les/vj0;

    move-result-object v2

    invoke-virtual {v2, p1, p2}, Les/vj0;->a(J)Les/zi0;

    move-result-object v2

    if-eqz v2, :cond_3

    .line 37
    iput-object v2, p0, Les/hk0;->l:Les/zi0;

    .line 38
    iput-wide p1, p0, Les/hk0;->k:J

    .line 39
    iget-object v2, p0, Les/hk0;->b:Les/jk0;

    invoke-virtual {v2, p1, p2}, Les/jk0;->a(J)V

    goto :goto_1

    .line 40
    :cond_2
    invoke-static {}, Les/cl0;->b()V

    .line 41
    :cond_3
    :goto_1
    iget-object v2, p0, Les/hk0;->b:Les/jk0;

    invoke-direct {p0}, Les/hk0;->k()Landroid/content/Context;

    move-result-object v3

    iget-boolean v4, p0, Les/hk0;->o:Z

    invoke-virtual {v2, v3, p3, v4}, Les/jk0;->a(Landroid/content/Context;IZ)Z

    move-result v2

    if-nez v2, :cond_6

    .line 42
    invoke-direct {p0, p3}, Les/hk0;->b(I)Z

    move-result v2

    const/4 v3, 0x0

    const-string v4, "handleDownload id:"

    if-eq p3, v1, :cond_5

    if-eq p3, v0, :cond_4

    goto :goto_2

    :cond_4
    if-nez v2, :cond_6

    .line 43
    sget-object p3, Les/hk0;->p:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1, p2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string p1, ",tryPerformButtonClick:"

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p3, p1, v3}, Les/bl0;->a(Ljava/lang/String;Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 44
    invoke-direct {p0, v1}, Les/hk0;->b(Z)V

    goto :goto_2

    :cond_5
    if-nez v2, :cond_6

    .line 45
    sget-object p3, Les/hk0;->p:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1, p2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    const-string p1, ",tryPerformItemClick:"

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p3, p1, v3}, Les/bl0;->a(Ljava/lang/String;Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 46
    invoke-direct {p0, v1}, Les/hk0;->c(Z)V

    :cond_6
    :goto_2
    return-void
.end method

.method public a(Landroid/os/Message;)V
    .locals 4

    if-eqz p1, :cond_6

    .line 47
    iget-boolean v0, p0, Les/hk0;->i:Z

    if-nez v0, :cond_0

    goto :goto_0

    .line 48
    :cond_0
    iget v0, p1, Landroid/os/Message;->what:I

    const/4 v1, 0x3

    if-eq v0, v1, :cond_5

    const/4 p1, 0x4

    const/4 v1, 0x0

    if-eq v0, p1, :cond_3

    const/4 p1, 0x5

    if-eq v0, p1, :cond_1

    goto :goto_0

    .line 49
    :cond_1
    invoke-static {}, Les/lk0;->k()Les/hi0;

    move-result-object p1

    if-eqz p1, :cond_2

    invoke-static {}, Les/lk0;->k()Les/hi0;

    move-result-object p1

    invoke-interface {p1}, Les/hi0;->a()Z

    move-result p1

    if-eqz p1, :cond_2

    return-void

    .line 50
    :cond_2
    invoke-static {}, Les/uk0;->a()Les/uk0;

    move-result-object p1

    iget-wide v2, p0, Les/hk0;->k:J

    const/4 v0, 0x1

    invoke-virtual {p1, v2, v3, v1, v0}, Les/uk0;->a(JZI)V

    .line 51
    invoke-direct {p0, v1}, Les/hk0;->c(Z)V

    goto :goto_0

    .line 52
    :cond_3
    invoke-static {}, Les/lk0;->k()Les/hi0;

    move-result-object p1

    if-eqz p1, :cond_4

    invoke-static {}, Les/lk0;->k()Les/hi0;

    move-result-object p1

    invoke-interface {p1}, Les/hi0;->a()Z

    move-result p1

    if-eqz p1, :cond_4

    return-void

    .line 53
    :cond_4
    invoke-static {}, Les/uk0;->a()Les/uk0;

    move-result-object p1

    iget-wide v2, p0, Les/hk0;->k:J

    const/4 v0, 0x2

    invoke-virtual {p1, v2, v3, v1, v0}, Les/uk0;->a(JZI)V

    .line 54
    invoke-direct {p0, v1}, Les/hk0;->b(Z)V

    goto :goto_0

    .line 55
    :cond_5
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Les/zn0;

    iput-object v0, p0, Les/hk0;->f:Les/zn0;

    .line 56
    iget-object v0, p0, Les/hk0;->b:Les/jk0;

    invoke-direct {p0}, Les/hk0;->p()Les/gj0;

    move-result-object v1

    iget-object v2, p0, Les/hk0;->d:Ljava/util/Map;

    invoke-static {v2}, Les/jk0;->a(Ljava/util/Map;)Ljava/util/List;

    move-result-object v2

    invoke-virtual {v0, p1, v1, v2}, Les/jk0;->a(Landroid/os/Message;Les/gj0;Ljava/util/List;)V

    :cond_6
    :goto_0
    return-void
.end method

.method public a(Z)V
    .locals 2

    .line 27
    iget-object v0, p0, Les/hk0;->f:Les/zn0;

    if-eqz v0, :cond_2

    if-eqz p1, :cond_1

    .line 28
    invoke-static {}, Lcom/ss/android/socialbase/appdownloader/e;->k()Lcom/ss/android/socialbase/appdownloader/e;

    move-result-object p1

    invoke-virtual {p1}, Lcom/ss/android/socialbase/appdownloader/e;->b()Les/vl0;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 29
    iget-object v0, p0, Les/hk0;->f:Les/zn0;

    invoke-interface {p1, v0}, Les/vl0;->a(Les/zn0;)V

    .line 30
    :cond_0
    invoke-static {}, Lcom/ss/android/socialbase/downloader/downloader/c;->b()Landroid/content/Context;

    move-result-object p1

    invoke-static {p1}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Landroid/content/Context;)Lcom/ss/android/socialbase/downloader/downloader/g;

    move-result-object p1

    iget-object v0, p0, Les/hk0;->f:Les/zn0;

    invoke-virtual {v0}, Les/zn0;->N0()I

    move-result v0

    const/4 v1, 0x1

    invoke-virtual {p1, v0, v1}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(IZ)V

    goto :goto_0

    .line 31
    :cond_1
    new-instance p1, Landroid/content/Intent;

    invoke-static {}, Les/lk0;->a()Landroid/content/Context;

    move-result-object v0

    const-class v1, Lcom/ss/android/socialbase/appdownloader/DownloadHandlerService;

    invoke-direct {p1, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v0, "android.ss.intent.action.DOWNLOAD_DELETE"

    .line 32
    invoke-virtual {p1, v0}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 33
    iget-object v0, p0, Les/hk0;->f:Les/zn0;

    invoke-virtual {v0}, Les/zn0;->N0()I

    move-result v0

    const-string v1, "extra_click_download_ids"

    invoke-virtual {p1, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 34
    invoke-static {}, Les/lk0;->a()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/content/Context;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    :cond_2
    :goto_0
    return-void
.end method

.method public a(I)Z
    .locals 3

    if-nez p1, :cond_0

    .line 13
    iget-object p1, p0, Les/hk0;->d:Ljava/util/Map;

    invoke-interface {p1}, Ljava/util/Map;->clear()V

    goto :goto_0

    .line 14
    :cond_0
    iget-object v0, p0, Les/hk0;->d:Ljava/util/Map;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-interface {v0, p1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    .line 15
    :goto_0
    iget-object p1, p0, Les/hk0;->d:Ljava/util/Map;

    invoke-interface {p1}, Ljava/util/Map;->isEmpty()Z

    move-result p1

    const/4 v0, 0x0

    if-eqz p1, :cond_4

    .line 16
    iput-boolean v0, p0, Les/hk0;->i:Z

    .line 17
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Les/hk0;->j:J

    .line 18
    iget-object p1, p0, Les/hk0;->f:Les/zn0;

    if-eqz p1, :cond_1

    .line 19
    invoke-static {}, Les/lk0;->a()Landroid/content/Context;

    move-result-object p1

    invoke-static {p1}, Lcom/ss/android/socialbase/downloader/downloader/g;->a(Landroid/content/Context;)Lcom/ss/android/socialbase/downloader/downloader/g;

    move-result-object p1

    iget-object v0, p0, Les/hk0;->f:Les/zn0;

    invoke-virtual {v0}, Les/zn0;->N0()I

    move-result v0

    invoke-virtual {p1, v0}, Lcom/ss/android/socialbase/downloader/downloader/g;->k(I)V

    .line 20
    :cond_1
    iget-object p1, p0, Les/hk0;->g:Les/hk0$c;

    const/4 v0, 0x1

    if-eqz p1, :cond_2

    invoke-virtual {p1}, Landroid/os/AsyncTask;->getStatus()Landroid/os/AsyncTask$Status;

    move-result-object p1

    sget-object v1, Landroid/os/AsyncTask$Status;->FINISHED:Landroid/os/AsyncTask$Status;

    if-eq p1, v1, :cond_2

    .line 21
    iget-object p1, p0, Les/hk0;->g:Les/hk0$c;

    invoke-virtual {p1, v0}, Landroid/os/AsyncTask;->cancel(Z)Z

    .line 22
    :cond_2
    iget-object p1, p0, Les/hk0;->b:Les/jk0;

    iget-object v1, p0, Les/hk0;->f:Les/zn0;

    invoke-virtual {p1, v1}, Les/jk0;->a(Les/zn0;)V

    .line 23
    sget-object p1, Les/hk0;->p:Ljava/lang/String;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "onUnbind removeCallbacksAndMessages, downloadUrl:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Les/hk0;->f:Les/zn0;

    if-nez v2, :cond_3

    const-string v2, ""

    goto :goto_1

    :cond_3
    invoke-virtual {v2}, Les/zn0;->Q0()Ljava/lang/String;

    move-result-object v2

    :goto_1
    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-static {p1, v1, v2}, Les/bl0;->a(Ljava/lang/String;Ljava/lang/String;Lorg/json/JSONObject;)V

    .line 24
    iget-object p1, p0, Les/hk0;->a:Les/dl0;

    invoke-virtual {p1, v2}, Landroid/os/Handler;->removeCallbacksAndMessages(Ljava/lang/Object;)V

    .line 25
    iput-object v2, p0, Les/hk0;->e:Les/gj0;

    .line 26
    iput-object v2, p0, Les/hk0;->f:Les/zn0;

    :cond_4
    return v0
.end method

.method public b(ILes/aj0;)Les/hk0;
    .locals 2

    if-eqz p2, :cond_1

    .line 4
    invoke-static {}, Les/lk0;->i()Lorg/json/JSONObject;

    move-result-object v0

    const-string v1, "back_use_softref_listener"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_0

    .line 5
    iget-object v0, p0, Les/hk0;->d:Ljava/util/Map;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    invoke-interface {v0, p1, p2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    .line 6
    :cond_0
    iget-object v0, p0, Les/hk0;->d:Ljava/util/Map;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    new-instance v1, Ljava/lang/ref/SoftReference;

    invoke-direct {v1, p2}, Ljava/lang/ref/SoftReference;-><init>(Ljava/lang/Object;)V

    invoke-interface {v0, p1, v1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_1
    :goto_0
    return-object p0
.end method

.method public b(Landroid/content/Context;)Les/hk0;
    .locals 1

    if-eqz p1, :cond_0

    .line 2
    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Les/hk0;->c:Ljava/lang/ref/WeakReference;

    .line 3
    :cond_0
    invoke-static {p1}, Les/lk0;->b(Landroid/content/Context;)V

    return-object p0
.end method

.method public b(Les/xi0;)Les/hk0;
    .locals 3

    .line 16
    iput-object p1, p0, Les/hk0;->n:Les/xi0;

    .line 17
    invoke-static {}, Les/vj0;->c()Les/vj0;

    move-result-object p1

    iget-wide v0, p0, Les/hk0;->k:J

    invoke-direct {p0}, Les/hk0;->m()Les/xi0;

    move-result-object v2

    invoke-virtual {p1, v0, v1, v2}, Les/vj0;->a(JLes/xi0;)V

    return-object p0
.end method

.method public b(Les/yi0;)Les/hk0;
    .locals 3

    .line 18
    iput-object p1, p0, Les/hk0;->m:Les/yi0;

    .line 19
    invoke-direct {p0}, Les/hk0;->l()Les/yi0;

    move-result-object p1

    invoke-interface {p1}, Les/yi0;->k()I

    move-result p1

    if-nez p1, :cond_0

    const/4 p1, 0x1

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    iput-boolean p1, p0, Les/hk0;->o:Z

    .line 20
    invoke-static {}, Les/vj0;->c()Les/vj0;

    move-result-object p1

    iget-wide v0, p0, Les/hk0;->k:J

    invoke-direct {p0}, Les/hk0;->l()Les/yi0;

    move-result-object v2

    invoke-virtual {p1, v0, v1, v2}, Les/vj0;->a(JLes/yi0;)V

    return-object p0
.end method

.method public b(Les/zi0;)Les/hk0;
    .locals 5

    if-eqz p1, :cond_0

    .line 7
    invoke-static {}, Les/vj0;->c()Les/vj0;

    move-result-object v0

    invoke-virtual {v0, p1}, Les/vj0;->a(Les/zi0;)V

    .line 8
    invoke-interface {p1}, Les/zi0;->d()J

    move-result-wide v0

    iput-wide v0, p0, Les/hk0;->k:J

    .line 9
    iput-object p1, p0, Les/hk0;->l:Les/zi0;

    .line 10
    invoke-static {p1}, Les/kk0;->a(Les/zi0;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 11
    check-cast p1, Les/lj0;

    const-wide/16 v0, 0x3

    invoke-virtual {p1, v0, v1}, Les/lj0;->a(J)V

    .line 12
    invoke-static {}, Les/vj0;->c()Les/vj0;

    move-result-object p1

    iget-wide v2, p0, Les/hk0;->k:J

    invoke-virtual {p1, v2, v3}, Les/vj0;->d(J)Les/nj0;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 13
    invoke-virtual {p1}, Les/nj0;->b()J

    move-result-wide v2

    cmp-long v4, v2, v0

    if-eqz v4, :cond_0

    .line 14
    invoke-virtual {p1, v0, v1}, Les/nj0;->b(J)V

    .line 15
    invoke-static {}, Les/xj0;->b()Les/xj0;

    move-result-object v0

    invoke-virtual {v0, p1}, Les/xj0;->a(Les/nj0;)V

    :cond_0
    return-object p0
.end method

.method public b()Z
    .locals 1

    .line 21
    iget-boolean v0, p0, Les/hk0;->i:Z

    return v0
.end method

.method public c()Z
    .locals 1

    .line 2
    iget-object v0, p0, Les/hk0;->f:Les/zn0;

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public d()J
    .locals 2

    .line 2
    iget-wide v0, p0, Les/hk0;->j:J

    return-wide v0
.end method

.method public e()V
    .locals 2

    .line 2
    iget-object v0, p0, Les/hk0;->a:Les/dl0;

    new-instance v1, Les/hk0$a;

    invoke-direct {v1, p0}, Les/hk0$a;-><init>(Les/hk0;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void
.end method

.method public f()V
    .locals 2

    .line 12
    iget-object v0, p0, Les/hk0;->d:Ljava/util/Map;

    invoke-interface {v0}, Ljava/util/Map;->size()I

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 13
    :cond_0
    iget-object v0, p0, Les/hk0;->d:Ljava/util/Map;

    invoke-static {v0}, Les/jk0;->a(Ljava/util/Map;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/aj0;

    .line 14
    invoke-interface {v1}, Les/aj0;->a()V

    goto :goto_0

    .line 15
    :cond_1
    iget-object v0, p0, Les/hk0;->f:Les/zn0;

    if-eqz v0, :cond_2

    const/4 v1, -0x4

    .line 16
    invoke-virtual {v0, v1}, Les/zn0;->b(I)V

    :cond_2
    return-void
.end method

.method public g()V
    .locals 3

    .line 2
    invoke-static {}, Les/vj0;->c()Les/vj0;

    move-result-object v0

    iget-wide v1, p0, Les/hk0;->k:J

    invoke-virtual {v0, v1, v2}, Les/vj0;->f(J)V

    return-void
.end method
